package com.gcxy.mapper;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gcxy.dto.PenDTO;
import com.gcxy.entity.Pen;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiang
 * @since 2023-12-12
 */
public interface PenMapper extends BaseMapper<Pen> {

    Page<PenDTO> selectAllPen(Page<PenDTO> page, @Param(Constants.WRAPPER) QueryWrapper<PenDTO> ew);


//    @Select("select  pen_name from pen")
//    List<Pen> getPenName();
}
